package com.kb.erp.service;

import com.kb.erp.entity.pcbout.AddTo;
import com.kb.erp.entity.pcbout.ExcelTO;
import com.kb.erp.entity.quote.BaseResult;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface MaterialService {

    BaseResult add(AddTo to) throws Exception;

    AddTo get(Long id);

    AddTo recomend(Object no, Boolean isdetail);

    void issuance(AddTo to);

    AddTo getIssuanceDetail(String id);


    void handle(String workid, String jsonString) throws Exception;

    void toHandle(String id, String person) throws Exception;

    void deleteAll();

    void uploadWorkshop(ExcelTO to);

    void test();

    void exportEasyExcel(HttpServletResponse response, String inputNo, String k3Name, String startTime, String endTime) throws IOException;
}
